<template>
    <view>
        <web-view :webview-styles="webStyle" :src="src"></web-view>
        
    </view>
</template>  
<script>
export default {
    data() {
        return {
            webStyle: {
                progress: {
                    color: '#009BFF'
                }
            },
            back: false,
            src: "",
        }
    },
    onLoad() {
        this.src=this.$Route.query.url
    },
    onHide() {
        console.log("123")
    },
    onShow() {
        if (this.back) {
          this.$Router.push({
            name:'payok'
          })
        } else {
            this.back = true;
        }
    }
}  
</script>

<style>
</style>